package com.inboyu.order.domain;

import com.inboyu.admin.domain.ContractId;
import com.inboyu.listing.domain.StoreId;
import com.inboyu.operation.domain.CustomerId;
import lombok.Data;

/**
 * 订单实体
 */
@Data
public class OrderEntity {

    /**
     * 订单ID
     */
    private OrderId id;

    /**
     * 门店ID
     */
    private StoreId storeId;

    /**
     * 订单类型
     */
    private OrderType orderType;

    /**
     * 订单状态
     */
    private OrderStatus orderStatus;

    /**
     * 订单合同ID
     */
    private ContractId contractId;

    /**
     * 关联订单ID
     */
    private OrderId relatedOrderId;

    /**
     *  租赁人ID
     */
    private CustomerId customerId;

    /**
     * 房间ID
     */
    private RoomId roomId;
}
